<?php

namespace app\mall\ui\table;

use suframe\thinkAdmin\ui\table\TableInterface;

/**
 * 活动管理表格
 */
class MallActTable extends TableInterface
{
    public function header()
    {
        return [
            'store_id'=> ['label' => '门店ID'],
            'start_time'=> ['label' => '开始时间'],
            'end_time'=> ['label' => '结束时间'],
            'enable'=> ['label' => '状态'],
            'create_time'=> ['label' => '创建时间'],
        ];
    }

    public function filters()
    {
        return [
            'store_id' => ['label' => '门店ID', 'type' => 'text'],
        ];
    }
}